﻿using System;

namespace SSTU.Contract.Common
{
	/// <summary>
	/// Delegate for asynchronous callback from facade.
	/// </summary>
	/// <param name="response">The response, result of operation.</param>
	public delegate void FacadeAsyncCallback(FacadeResponse response);

	/// <summary>
	/// Delegate for asynchronous callback from facade.
	/// </summary>
	/// <typeparam name="T">Type of the data in response.</typeparam>
	/// <param name="response">The response, result of operation.</param>
	public delegate void FacadeAsyncCallback<T>(FacadeResponse<T> response);
}
